package com.xiaobai.seckill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaobai.seckill.pojo.Goods;
import com.xiaobai.seckill.vo.GoodsVo;

import java.util.List;

public interface GoodsMapper extends BaseMapper<Goods> {
    /**
     * 功能描述: 获取商品列表
     */
    List<GoodsVo> findGoodsVo();

    /**
     * 功能描述: 获取商品详情
     */
    GoodsVo findGoodsVoByGoodsId(Long goodsId);
}